package com.seeyon.v3x.rota.domain;

import java.io.Serializable;

import com.seeyon.ctp.common.po.BasePO;

public class Rota extends BasePO implements Serializable {

    private String testName;
    
    private int hashCode;
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
        hashCode = 0x80000000;
    }

    public String getTestName() {
        return testName;
    }

    public void setTestName(String testName) {
        this.testName = testName;
    }

    
    public int hashCode() {
        if(0x80000000 == hashCode) {
            if(null == getId())
                return super.hashCode();
            String hashStr = (new StringBuilder()).append(getClass().getName()).append(":").append(getId().hashCode()).toString();
            hashCode = hashStr.hashCode();
        }
        return hashCode;
    }

    public String toString() {
        return super.toString();
    }


}
